package com.example.yuxin.demo.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import lombok.Data;

/**
 * Description: <br>
 *
 * @author: name：yuxin <br>email: yuruixin@ixincheng.com <br>
 * Create Time:  2018/7/4 0004-下午 8:39<br>
 */
@Component
@Data
public class BlogProperties {

    @Value("${com.yuxin.name}")
    private String name;
    @Value("${com.yuxin.title}")
    private String title;
    @Value("${com.yuxin.desc}")
    private String desc;

    // 省略getter和setter

}
